<%@ page import="java.util.Date" %>
<%@ page contentType="text/html; charset=utf-8"%>
<html>
<body>
<%!
    int count=0;
    void add(){
        count++;
    }
%>
<% add();%>
<h2>Hello World!<%=count%></h2><h1>hot reload</h1>
<%
    Date d=new Date();
%>
当前时间：<%=d.toString()%>
<form action="" method="post">
    <%for(int i=1;i<=5;i++){%>
        <input type="file" name="file<%=i%>"><br>
    <%}%>
</form>
<%--<jsp:include page="page2.jsp">--%>
<%--    <jsp:param name="name" value="tom"/>--%>
<%--</jsp:include>--%>
<form action="" method="post">
    <input name="name">
    <input type="submit">
</form>
<%=request.getParameter("name")%>
</body>
</html>
